<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" data-rule="required" class="form-control" name="row[name]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Countisr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-countisr" data-rule="required" class="form-control" name="row[countisr]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Countpv')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-countpv" data-rule="required" class="form-control" name="row[countpv]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Countshare')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-countshare" data-rule="required" class="form-control" name="row[countshare]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Countpraise')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-countpraise" data-rule="required" class="form-control" name="row[countpraise]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Countcomment')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-countcomment" data-rule="required" class="form-control" name="row[countcomment]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Twodayspv')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-twodayspv" data-rule="required" class="form-control" name="row[twodayspv]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Twodaysshare')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-twodaysshare" data-rule="required" class="form-control" name="row[twodaysshare]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Twodayspraise')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-twodayspraise" data-rule="required" class="form-control" name="row[twodayspraise]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Twodayscomment')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-twodayscomment" data-rule="required" class="form-control" name="row[twodayscomment]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Topiclead')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-topiclead" class="form-control" name="row[topiclead]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Addpv')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addpv" data-rule="required" class="form-control" name="row[addpv]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Addshare')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addshare" data-rule="required" class="form-control" name="row[addshare]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Addpraise')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addpraise" data-rule="required" class="form-control" name="row[addpraise]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hotswitch')}:</label>
        <div class="col-xs-12 col-sm-8">

            <select  id="c-hotswitch" data-rule="required" class="form-control selectpicker" name="row[hotswitch]">
                {foreach name="hotswitchList" item="vo"}
                    <option value="{$key}" {in name="key" value="0"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
